<table>
    <thead>
        <tr>
            <g:sortableColumn property="id" title="${message(code: 'moc.ti.id.label', default: 'Id')}" />
            <g:sortableColumn property="ti001" title="${message(code: 'moc.ti.ti001.label', default: 'Ti001')}" />
            <g:sortableColumn property="ti002" title="${message(code: 'moc.ti.ti002.label', default: 'Ti002')}" />
        </tr>
    </thead>
    <tbody>
    <g:each in="${tiInstanceList}" status="i" var="tiInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${tiInstance.id}">${fieldValue(bean: tiInstance, field: "id")}</g:link></td>
            <td>${fieldValue(bean: tiInstance, field: "ti001")}</td>
            <td><g:formatNumber number="${tiInstance.ti002}" format="###,##0.00000" /></td>
        </tr>
    </g:each>
    </tbody>
</table>